package com.enzism.springboot.quartz.model;

import java.io.Serializable;
import java.util.Date;

public class JobEntity implements Serializable {

	private static final long serialVersionUID = 3495586453347942159L;
	private int jobId;//任务id


	private String jobClass;//定时任务执行类
	private String jobDsc;//任务描述

	private String jobName;//任务名和触发器名
	private String groupName;//任务组和触发器组
	private String cronExpr;// 触发时间
	private String oldjobName;
	private String oldGroupName;
	private Date previousFireTime;//上次运行时间

	private Date nextFireTime;//下次运行时间

	private String jobStatus;// NONE无,
	//	NORMAL正常,
	//	PAUSED暂停,
	//	COMPLETE完成,
	//	ERROR错误,
	//	BLOCKED阻塞
	//	WAITING:等待
	//	ACQUIRED:正常执行
	private long runTimes;//运行时间
	private Date startTime;//开始时间
	private Date endTime;//结束时间


	public String getOldjobName() {
		return oldjobName;
	}

	public void setOldjobName(String oldjobName) {
		this.oldjobName = oldjobName;
	}

	public int getJobId() {
		return jobId;
	}

	public void setJobId(int jobId) {
		this.jobId = jobId;
	}

	public String getOldGroupName() {
		return oldGroupName;
	}

	public void setOldGroupName(String oldGroupName) {
		this.oldGroupName = oldGroupName;
	}

	public String getJobDsc() {
		return jobDsc;
	}

	public void setJobDsc(String jobDsc) {
		this.jobDsc = jobDsc;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}


	public Date getPreviousFireTime() {
		return previousFireTime;
	}

	public void setPreviousFireTime(Date previousFireTime) {
		this.previousFireTime = previousFireTime;
	}

	public Date getNextFireTime() {
		return nextFireTime;
	}

	public void setNextFireTime(Date nextFireTime) {
		this.nextFireTime = nextFireTime;
	}

	public String getJobStatus() {
		return jobStatus;
	}

	public void setJobStatus(String jobStatus) {
		this.jobStatus = jobStatus;
	}

	public long getRunTimes() {
		return runTimes;
	}

	public void setRunTimes(long runTimes) {
		this.runTimes = runTimes;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getCronExpr() {
		return cronExpr;
	}

	public void setCronExpr(String cronExpr) {
		this.cronExpr = cronExpr;
	}

	public String getJobClass() {
		return jobClass;
	}

	public void setJobClass(String jobClass) {
		this.jobClass = jobClass;
	}


}
